<template>
  <view>
    <login-cpt @loginSuccess="onloginSuccess"></login-cpt>
  </view>
</template>

<script>
import loginCpt from '../../../components/login-cpt/login-cpt.vue';
  export default {
  components: { loginCpt },
    data() {
      return {
        
      };
    },
    methods:{
      onloginSuccess(){
        // console.log('login了');
        uni.navigateBack({delta:1,})
      }
    }
  }
</script>

<style lang="scss">

</style>
